package cn.tedu.mvccoolshark.pojo;

/**
 * 产品类
 */
public class Product {
    private Integer id;
    private String title;
    private double price;
    private Integer num;

    @Override
    public String toString() {
        return
                "id:" + id +
                "\t title:" + title +
                "\t price=" + price +
                "\t num=" + num ;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public Integer getNum() {
        return num;
    }

    public void setNum(Integer num) {
        this.num = num;
    }
}
